<?php header('Content-type: text/html; charset=utf-8'); ?>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>Trang chủ</title>
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/style.css" media="screen"/>
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.easing.1.3.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.timers.1.2.js"></script>
    <script type="teParse error: syntax error, unexpected 'new' (T_NEW) in D:\Apache2.2\htdocs\webnews\protected\components\Controller.php on line 13xt/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.galleryview.2.1.1.min.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.galleryview.setup.js"></script>
</head>
<body>
    <!-- header -->
        <?php echo $this->renderPartial('//layouts/_header', 
                array(
                    'login_form' => new LoginForm,
                    'categories' => Category::model()->findAll(),
                )); ?>
    <!-- end header -->
    
    <!-- content -->
    	<?php echo $content; ?>
    <!-- end content -->
</body>


<footer style="margin-top:100px;marign-left:300px;text-align:center;"> <!-- site wide footer -->
	<br/>
    <nav>
      <p><a href="/credits.html">Credits</a> —
             <a href="/tos.html">Terms of Service</a> —
             <a href="/index.html">Blog Index</a>
      </p>
    </nav>
    <p>Copyright © 2012 BKHCM BKITER</p>
</footer>
</html>